|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectcom.epiphan.vga2usb.Enum
com.epiphan.vga2usb.Enum.Int
com.epiphan.vga2usb.PropertyType
Typesafe enumeration of the property types.
Field Summary | |
static PropertyType |
ADJUST_RANGE
Adjust range property. |
static PropertyType |
BINARY
Binary property. |
static PropertyType |
BOOL
Boolean property. |
static PropertyType |
EDID
EDID property. |
static PropertyType |
ENUM
Alias to INT32. |
static PropertyType |
INT
Alias to INT32. |
static PropertyType |
INT16
Signed short property. |
static PropertyType |
INT32
Signed int property. |
static PropertyType |
INT8
Signed byte property. |
static PropertyType |
RECT
Rectangle property. |
static PropertyType |
SIZE
Size property. |
static PropertyType |
STRING
String property. |
static PropertyType |
VERSION
Version property. |
static PropertyType |
VGA_MODE
VGA mode property. |
Method Summary | |
int |
compareTo(int key)
Compares id of this object with the specified key for order. |
int |
compareTo(Object obj)
Compares this object with the specified object for order. |
String |
getDescription()
Returns the description of this object. |
int |
getValue()
Gets the integer value associated with this object. |
int |
hashCode()
Returns the hashcode for this object. |
protected static int |
search(java.util.List list,
int key)
Searches the list for the specified enum object using the binary search algorithm. |
String |
toString()
Returns a string representation of this object. |
Methods inherited from class Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final PropertyType ADJUST_RANGE
public static final PropertyType BINARY
public static final PropertyType BOOL
public static final PropertyType EDID
public static final PropertyType ENUM
public static final PropertyType INT
public static final PropertyType INT16
public static final PropertyType INT32
public static final PropertyType INT8
public static final PropertyType RECT
public static final PropertyType SIZE
public static final PropertyType STRING
public static final PropertyType VERSION
public static final PropertyType VGA_MODE
Method Detail |
public int compareTo(int key)
key
- the key to be compared.
ClassCastException
- if the specified object's type prevents it
from being compared to this Object.Comparable
public int compareTo(Object obj)
compareTo
in interface Comparable
obj
- the Object to be compared.
ClassCastException
- if the specified object's type prevents it
from being compared to this Object.Comparable
public final int getValue()
public final int hashCode()
protected static int search(java.util.List list, int key)
list
- the list to searchkey
- the key to search for
public final String getDescription()
public final String toString()
null
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |